package com.mida.dms.knw.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mida.dms.knw.entity.KnwCommonWordsTree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author: zangjian
 * @Description:
 * @Date: 2021/6/28 17:18
 * @params:
 */
@Data
public class CommonWordsTreeVo implements Serializable {
    @ApiModelProperty(value = "上级常用语树形分类标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long surperCommonWordsTreeSoid;

    @ApiModelProperty(value = "常用语树形分类标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long commonWordsTreeSoid;

    @ApiModelProperty(value = "常用语树形分类名称")
    private String commonWordsTreeName;

    @ApiModelProperty(value = "序号")
    private Short serialNo;

    @ApiModelProperty(value = "组织标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long orgInfoSoid;

    @ApiModelProperty(value = "创建人标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long creator;

    @ApiModelProperty(value = "修改人标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long updateUser;

    @ApiModelProperty(value = "启用状态")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long status;

    @ApiModelProperty(value = "业务单元标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long businessUnitSoid;

    @ApiModelProperty(value = "排序用的节点集合")
    private List<KnwCommonWordsTree> commonWordsTreeSoids;

    @ApiModelProperty(value = "查询名称")
    private String queryName;

    @ApiModelProperty(value = "分享(0不共享，1共享)")
    private Short isShare;

    @ApiModelProperty(value = "查询树的集合")
    private List<CommonWordsTreeVo> commonWordsTreeVos = new ArrayList<CommonWordsTreeVo>();

    @ApiModelProperty(value = "父节点的集合")
    private List<Long> surperCommonWordsTreeSoids;

    @ApiModelProperty(value = "拼音码")
    private String pyCode;

    @ApiModelProperty(value = "五笔码")
    private String wbCode;


}
